package com.demo10;

/**
 * Created by Administrator on 2017/4/14.
 */
public class Repetition {
    public static void main(String[] args) {
        int arr[] = {7, 10, 6};
        System.out.println("一维数组中的元素分别为:　");
        for (int x : arr) {
            System.out.println(x);
        }
        for (int i = 0; i <= 100; i++) {
            System.out.println(i);
            if (i == 6) {
                break;
            }
        }
        System.out.println("---end---");
    }
}
